package com.sy.musicapp.intent.service

import com.sy.musicapp.model.HotKey
import com.sy.musicapp.model.Music
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

interface SearchService {
    @GET("search/default")
    fun getHotkey(): Call<HotKey>

    @GET("search")
    fun getSearchResult(@Query("keywords") key: String): Call<List<Music>>
}